<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=`, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
     /* 
       赋值运算符：把数据赋值给变量的符号
            1.= 赋值，把后面的数据赋值给前面的变量
            2.+= -= *= /=
     */
      var  num = 10;
    //   num = num + 5;
    // num 自加一个值，重新赋值给自己。
    num += 4;
    console.log(num);//14
    console.log('-----------案例:--------------')
    num +=222;
    console.log(num);//236
    num -= 2343;
    console.log(num);//-2107
    num *=234;
    console.log(num);//-493038
    num /=234;
    console.log(num);-2107
    </script>
</body>
</html>